package com.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Description:
 *
 * @Autor: Rolin
 * datetime: 04-24-11:09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommonResult<T> {

    private String message;
    private Integer code;
    private  T  data ;

    public CommonResult(String message, Integer code) { this(message,code,null);
    }
}